<?php
defined('SYSPATH') OR die('No direct access allowed.');
/**
 * lowongan.php
 * @author ranuandra
 *
 * 6 Mei 2012 22:37:11
 *
 * 
 */
?>
           <div class="toolbar-wrapper">
            	<div class="toolbar-container">				
                </div>
            	<h1 class="title"><?php echo $lowongan->deskripsi?></h1>
            	
            </div>
            <div class="pagination-wrapper">
            	<div class="search"><label>Cari : </label><input type="text" name="search" size="20"> <input type="submit" value="Go"> <input type="reset"></div>
                <div class="pagination-container">
                	<!--  <ul class="pagination">
                    	<li>1</li>
                        <li>2</li>
                        <li>3</li>
                        <li>4</li>
                    </ul>-->
                </div>
            </div>
            <div class="content">
           		<table class="data">
                	<thead>
                    	<tr>
                        	
                        	<th>Proses</th>
                        	<th>Pelamar</th>
 
                        	<th>Tanggal Proses</th>
                        	<th>PIC</th>
                        	<th>Cabang/Dept</th>
                        	<th>Alamat</th>
                        </tr>
                    </thead>
                    <tbody>
                    <?php 
                    if(isset($datas))
                    {
                    	foreach($datas as $data)
                    	{
                    		
                    ?>
                    	<tr>
                        	
                            <td><a href="<? echo URL::base() ?>admin/proseslowongan/pelamar/<?php echo $data->id?>">
                            <?php echo $data->mstproses->proses?></a></td>
                            <td><?php echo $data->pelamarproses->count_all()?></td>
                            <td><?php echo date("d M Y H:m", strtotime( $data->tanggal ) )?></td>
                            <td><?php echo $data->user->username?></td>
                            <td><?php echo $data->user->mstplacement->placement?></td>
                            <td><?php echo $data->alamat?></td>
                        </tr>
                    <?php 
                    	}
                    }
                    ?>
                    </tbody>
                </table>
            </div>
             <div class="pagination-wrapper">
                <div class="pagination-container">
                	<!--<ul class="pagination">
                    	<li>1</li>
                        <li>2</li>
                        <li>3</li>
                        <li>4</li>
                    </ul>  -->
                </div>
            </div>